package com.wk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wk.domain.FcBuilding;
import com.wk.domain.FcCell;
import com.wk.domain.FcEstate;
import com.wk.domain.FcUnit;
import com.wk.vo.CellMessage;
import com.wk.vo.UnitMessage;

import java.util.List;

public interface FcEstateService extends IService<FcEstate> {

	Integer insertEstate(FcEstate fcEstate);

	List<FcBuilding> selectBuilding(Integer buildingNumber, String estateCode);

	Boolean updateBuildingById(FcBuilding building);

	List<FcUnit> selectUnit(UnitMessage unitMessage);

	List<FcCell> insertCell(CellMessage[] cellMessages);

	List<FcBuilding> selectBuildingByEstate(String estateCode);

	List<FcUnit> selectUnitByBuildingCode(String buildingCode);

	List<FcCell> selectCellByUnitCode(String unitCode);

	List<FcEstate> selectEstate(String companyId);
}
